#include<unistd.h>

int main(int argc,char**argv)
{
	pid_t gpid;
	int i;

	gpid = fork();
	
	if(gpid<0)
		exit(1);
	else if(gpid>0)
		exit(0);

	setsid();
	chdir("/");
	umask(0);
	for(i=0;i<65535;i++)
	close(i);

	system("igw_socket");

	return 0;
}
